{include file="public_head"}
{include file="public_menu"}

    <div class="content_center">
        <div class="main_center">
            {include file="public_information_menu"}
            <div class="main_right right">
                {include file="public_information_message"}
                <div class="my_order">
                    <div class="title"><h4><a href="#">我的已完成订单</a></h4><span></span></div>
                    <div class="det">
                        {empty name="orders"}
                        <div class="empty_cart" style="height: 200px;padding-top: 50px;">
                            <div>
                                <img src="__STATIC__/img/icon62.png" class="left">
                                <div class="tips left">
                                    订单空空的哦~，去看看心仪的商品吧~
                                    <a href="{:url('shop/index/index')}" target="_blank">去购物></a>
                                </div>
                            </div>
                        </div>
                        {/empty}
                        <table border="0">
                            {volist name="orders" id="item"}
                            {volist name="$item['member_order_attached']" id="vv"}
                            <tr>
                                <td><a href="{:url('ShopGoods/index',['good_id'=>$vv.goods_id])}"><img src="/{$vv['thumb_img']}" style="width: 60px;height: 60px;"></a></td>
                                <td class="name">{$vv.title|reStrLen=###,25}</td>
                                <td class="name">￥{$vv.price}<br>在线支付</td>
                                <td class="time">{:date('Y-m-d',$item.create_time)}</td>
                                <td class="time">已完成</td>
                                <td onclick="jump_order({$item.id})">查看</td>
                            </tr>
                            {/volist}
                            {/volist}
                        </table>
                    </div>
                </div>
                <div class="like_con">
                    <div class="title">猜你喜欢<span>根据你的浏览记录推荐的商品</span></div>
                    <ul class="list_like">
                        {volist name="guess_like" id="vo"}
                        <li>
                            <a href="{:url('ShopGoods/index',['good_id'=>$vo.id])}" target="_blank">
                                <img src="/{$vo['thumb_img']}" onerror="this.src='/static/shop/img/moren2.jpg'"/>
                                <div class="goods">{$vo['title']|reStrLen=###,8}</div>
                                <div class="num">已有<span>{$vo.evaluate_number}+</span>条评价</div>
                                <div class="price">￥{$vo.price}</div>
                                <div class="buy">立即购买</div>
                            </a>
                        </li>
                        {/volist}
                    </ul>
                </div>

            </div>
        </div>
    </div>
<script>
    function jump_order(id) {
        window.open("{:url('MemberOrder/detail')}?order_id="+id);
    }
</script>
{include file="public_foot"}